package com.icehand.axon.demo.common.events;

import com.icehand.axon.demo.common.domain.AccountId;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author user
 */
@Data
@AllArgsConstructor
public class MoneyWithdrawnEvent {
    private AccountId accountId;
    private BigDecimal amount;
}
